package com.example.designmode.builder;


//具体实现人物的创建着
public class ConcreteBuilder implements Builder{

    private Person person;

    public ConcreteBuilder(){
        this.person = new Person();
    }

    @Override
    public void head() {
        this.person.setHead("乌黑浓密的头发和精致的五官");
    }

    @Override
    public void body() {
        this.person.setBody("优美的身段");
    }

    @Override
    public void hands() {
        this.person.setHands("纤纤玉手");
    }

    @Override
    public void foots() {
        this.person.setFoots("笔直的双腿");
    }

    @Override
    public Person show() {
        return this.person;
    }
}
